package cn.chenfei.sshd.client;

import cn.chenfeifx.core.controls.CFHeader;
import cn.chenfeifx.core.controls.CFStage;
import cn.chenfei.sshd.client.ui.Home;
import javafx.application.Application;
import javafx.application.HostServices;
import javafx.stage.Stage;

public class DeployApplication extends Application {

    public static HostServices hostServices;

    @Override
    public void start(Stage primaryStage) {
        hostServices = getHostServices();
        //基础尺寸
        CFStage stage = new CFStage(new Home(), 600, 450)
                .setHeaderStyle(CFHeader.HeaderStyle.ICONIFY_CLOSE);
        stage.setTitle("项目部署工具");
        stage.show();
    }

}